package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

@TableName(value = "ps_inspectiontask_detail")
public class PsInspectiontaskDetail {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 主表任务ID
     */
    @TableField(value = "taskId")
    private Long taskid;

    /**
     * 杆塔ID
     */
    @TableField(value = "poleId")
    private Long poleid;

    @TableField(value = "poleCode")
    private String polecode;

    @TableField(value = "lineCode")
    private String linecode;

    @TableField(value = "lineName")
    private String linename;

    /**
     * 有无缺陷/故障，1、有，0、无
     */
    @TableField(value = "isBug")
    private Integer isbug;

    /**
     * 完好率
     */
    @TableField(value = "intactRate")
    private Double intactrate;

    /**
     * 缺陷级别ID
     */
    @TableField(value = "bugLevel")
    private Long buglevel;

    @TableField(value = "bugLevelName")
    private String buglevelname;

    /**
     * 缺陷类型ID
     */
    @TableField(value = "bugType")
    private Long bugtype;

    @TableField(value = "bugTypeName")
    private String bugtypename;

    @TableField(value = "bugDesc")
    private String bugdesc;

    @TableField(value = "discovererCode")
    private String discoverercode;

    @TableField(value = "discovererName")
    private String discoverername;

    /**
     * 发现时间
     */
    @TableField(value = "discoverTime")
    private Date discovertime;

    /**
     * 是否消缺，1、是，0、否
     */
    @TableField(value = "isSolve")
    private Integer issolve;

    /**
     * 巡检时间
     */
    @TableField(value = "inspectTime")
    private Date inspecttime;

    /**
     * 创建时间
     */
    @TableField(value = "creationTime")
    private Date creationtime;

    @TableField(value = "createdBy")
    private String createdby;

    /**
     * 最后修改时间
     */
    @TableField(value = "lastUpdateTime")
    private Date lastupdatetime;

    /**
     * 获取主键ID
     *
     * @return id - 主键ID
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键ID
     *
     * @param id 主键ID
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取主表任务ID
     *
     * @return taskId - 主表任务ID
     */
    public Long getTaskid() {
        return taskid;
    }

    /**
     * 设置主表任务ID
     *
     * @param taskid 主表任务ID
     */
    public void setTaskid(Long taskid) {
        this.taskid = taskid;
    }

    /**
     * 获取杆塔ID
     *
     * @return poleId - 杆塔ID
     */
    public Long getPoleid() {
        return poleid;
    }

    /**
     * 设置杆塔ID
     *
     * @param poleid 杆塔ID
     */
    public void setPoleid(Long poleid) {
        this.poleid = poleid;
    }

    /**
     * @return poleCode
     */
    public String getPolecode() {
        return polecode;
    }

    /**
     * @param polecode
     */
    public void setPolecode(String polecode) {
        this.polecode = polecode;
    }

    /**
     * @return lineCode
     */
    public String getLinecode() {
        return linecode;
    }

    /**
     * @param linecode
     */
    public void setLinecode(String linecode) {
        this.linecode = linecode;
    }

    /**
     * @return lineName
     */
    public String getLinename() {
        return linename;
    }

    /**
     * @param linename
     */
    public void setLinename(String linename) {
        this.linename = linename;
    }

    /**
     * 获取有无缺陷/故障，1、有，0、无
     *
     * @return isBug - 有无缺陷/故障，1、有，0、无
     */
    public Integer getIsbug() {
        return isbug;
    }

    /**
     * 设置有无缺陷/故障，1、有，0、无
     *
     * @param isbug 有无缺陷/故障，1、有，0、无
     */
    public void setIsbug(Integer isbug) {
        this.isbug = isbug;
    }

    /**
     * 获取完好率
     *
     * @return intactRate - 完好率
     */
    public Double getIntactrate() {
        return intactrate;
    }

    /**
     * 设置完好率
     *
     * @param intactrate 完好率
     */
    public void setIntactrate(Double intactrate) {
        this.intactrate = intactrate;
    }

    /**
     * 获取缺陷级别ID
     *
     * @return bugLevel - 缺陷级别ID
     */
    public Long getBuglevel() {
        return buglevel;
    }

    /**
     * 设置缺陷级别ID
     *
     * @param buglevel 缺陷级别ID
     */
    public void setBuglevel(Long buglevel) {
        this.buglevel = buglevel;
    }

    /**
     * @return bugLevelName
     */
    public String getBuglevelname() {
        return buglevelname;
    }

    /**
     * @param buglevelname
     */
    public void setBuglevelname(String buglevelname) {
        this.buglevelname = buglevelname;
    }

    /**
     * 获取缺陷类型ID
     *
     * @return bugType - 缺陷类型ID
     */
    public Long getBugtype() {
        return bugtype;
    }

    /**
     * 设置缺陷类型ID
     *
     * @param bugtype 缺陷类型ID
     */
    public void setBugtype(Long bugtype) {
        this.bugtype = bugtype;
    }

    /**
     * @return bugTypeName
     */
    public String getBugtypename() {
        return bugtypename;
    }

    /**
     * @param bugtypename
     */
    public void setBugtypename(String bugtypename) {
        this.bugtypename = bugtypename;
    }

    /**
     * @return bugDesc
     */
    public String getBugdesc() {
        return bugdesc;
    }

    /**
     * @param bugdesc
     */
    public void setBugdesc(String bugdesc) {
        this.bugdesc = bugdesc;
    }

    /**
     * @return discovererCode
     */
    public String getDiscoverercode() {
        return discoverercode;
    }

    /**
     * @param discoverercode
     */
    public void setDiscoverercode(String discoverercode) {
        this.discoverercode = discoverercode;
    }

    /**
     * @return discovererName
     */
    public String getDiscoverername() {
        return discoverername;
    }

    /**
     * @param discoverername
     */
    public void setDiscoverername(String discoverername) {
        this.discoverername = discoverername;
    }

    /**
     * 获取发现时间
     *
     * @return discoverTime - 发现时间
     */
    public Date getDiscovertime() {
        return discovertime;
    }

    /**
     * 设置发现时间
     *
     * @param discovertime 发现时间
     */
    public void setDiscovertime(Date discovertime) {
        this.discovertime = discovertime;
    }

    /**
     * 获取是否消缺，1、是，0、否
     *
     * @return isSolve - 是否消缺，1、是，0、否
     */
    public Integer getIssolve() {
        return issolve;
    }

    /**
     * 设置是否消缺，1、是，0、否
     *
     * @param issolve 是否消缺，1、是，0、否
     */
    public void setIssolve(Integer issolve) {
        this.issolve = issolve;
    }

    /**
     * 获取巡检时间
     *
     * @return inspectTime - 巡检时间
     */
    public Date getInspecttime() {
        return inspecttime;
    }

    /**
     * 设置巡检时间
     *
     * @param inspecttime 巡检时间
     */
    public void setInspecttime(Date inspecttime) {
        this.inspecttime = inspecttime;
    }

    /**
     * 获取创建时间
     *
     * @return creationTime - 创建时间
     */
    public Date getCreationtime() {
        return creationtime;
    }

    /**
     * 设置创建时间
     *
     * @param creationtime 创建时间
     */
    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    /**
     * @return createdBy
     */
    public String getCreatedby() {
        return createdby;
    }

    /**
     * @param createdby
     */
    public void setCreatedby(String createdby) {
        this.createdby = createdby;
    }

    /**
     * 获取最后修改时间
     *
     * @return lastUpdateTime - 最后修改时间
     */
    public Date getLastupdatetime() {
        return lastupdatetime;
    }

    /**
     * 设置最后修改时间
     *
     * @param lastupdatetime 最后修改时间
     */
    public void setLastupdatetime(Date lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }
}